<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

<!DOCTYPE html>
<html>
	<head>
		<title></title>
		<meta name="decorator" content="default"/>
		<script type="text/javascript">     
			$(function(){ 
				var defHeight = 300,wh=$(window).height();
				var lh=$('.location').height(),fh=$('#floatHead').height(),sh=$('.det-list').height(),ph=$('.pagelist').height();
				defHeight = (wh-lh-fh-sh-ph-130);
				$('.flexgrid').flexigrid({striped:true,height:defHeight});
			});
		</script>
	</head>
	<body>
		<sys:message content="${message}"/>
		<!--导航栏-->
		<div class="location">
			<a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>
			<a href="${ctx}/center" class="home"><i></i>
			<span>首页</span></a> 
			<i class="arrow"></i> 
			<span>耗课统计表</span>
		</div>
		<!--/导航栏-->
		
		<!--搜索栏-->
		<form:form id="searchForm" modelAttribute="order" action="${ctx}/qd/stat/orderexport" method="post">
			<div class="det-list clearfix">
			    <div class="group btm">
			        <div class="control">
			            <div class="title">日期范围</div>
			            <div class="date-input">
			            	<i></i>
			            	<fmt:formatDate value="${contract.startOn}" pattern="yyyy-MM-dd" var="startOn" />
			            	<form:input path="startOn"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});" htmlEscape="false" cssClass="input" value="${startOn}" />&nbsp;&nbsp;&nbsp;~
			            </div>
			        </div>
			         <div class="date-input">
			            <i></i>
			            <fmt:formatDate value="${contract.endOn}" pattern="yyyy-MM-dd" var="endOn" />
			          	<form:input path="endOn"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});"  htmlEscape="false" cssClass="input" value="${endOn}" />
		          	 </div>
			    </div>
			    <br>
			    <div class="group searchbtn">
			        <div class="btn-list">
			            <input type="submit" name="btnDetailedSearch" value="导出" id="btnDetailedSearch" class="btn">
			            <input name="btnReturn" type="reset" value="重置" class="btn yellow">
			        </div>
			    </div>
			    <div style="clear:both;"></div>
		    </div>
		</form:form>
		<!--/搜索栏-->
	</body>
</html>
